package com.zking.ssm.sys.service;

import com.zking.ssm.sys.model.HotelAssess;
import com.zking.ssm.util.PageBean;
import org.springframework.transaction.annotation.Transactional;

import javax.xml.ws.ServiceMode;
import java.util.List;

@Transactional
public interface IHotelAssessService {
    int deleteByPrimaryKey(Integer id);

    int insert(HotelAssess record);

    int insertSelective(HotelAssess record);

    @Transactional(readOnly = true)
    HotelAssess selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HotelAssess record);

    int updateByPrimaryKey(HotelAssess record);

    @Transactional(readOnly = true)
    List<HotelAssess> list(HotelAssess record, PageBean pageBean);
}
